\documentclass[9pt]{article}
\input{settings.tex}
\input{parameters.tex}

%------------------Document----------------------------
\begin{document}

%-------------------------Content------------------------
    % pyHRV Logo
    \begin{center}
        \includegraphics[width=\textwidth]{pyhrv.png}
    \end{center}
    
    % Report
    \section{Report}

    % General Info Table
    \input{templates/general_info.tex}

    % Add ECG Signal
    \ifecgsignal
        test
        \begin{center}
            \includegraphics[width=\textwidth]{figures/ecgplot.png}
            \vspace{-5mm}
        \end{center}
        \vspace{-5mm}
    \fi

    % Add tachogram plot
    \iftachogram
        \begin{center}
            \includegraphics[width=\textwidth]{figures/tachogram.png}
        \end{center}
    \vspace{-5mm}
    \fi

    % Add HR heatplot
    \ifhrheatplot
        \begin{center}
            \includegraphics[width=\textwidth]{figures/hrheatplot.png}
        \end{center}
        \vspace{-5mm}
    \fi

    % Add Time Domain Results
    \iftdomain \input{templates/time_domain.tex} \fi
    
    % Add Frequency Domain Results
    \iffdomain \input{templates/frequency_domain.tex} \fi

    % Add Nonlinear Parameters
    \ifndomain  \input{templates/nonlinear.tex} \fi

    % Add Glossary
    \input{templates/glossary.tex}

    %-------------------------Content------------------------
    \label{page:lastpage}
\end{document}
